/*
 * BaseEntity.h
 *
 *  Created on: 09-Oct-2013
 *      Author: sriram
 */

#ifndef BASEENTITY_H_
#define BASEENTITY_H_
#include "../dependency/StatusCodes.h"
#include "../Utils/MemoryManagement.h"
#include "../dependency/GlobalStructures.h"

class BaseEntity {
private:
	ProjectModules moduleName;
public:
	BaseEntity();
	virtual ~BaseEntity();
	void* allocateMemory(int size);
	void deallocateMemory(void *ptr);

	ProjectModules getModuleName() const {
		return moduleName;
	}

	void setModuleName(ProjectModules moduleName) {
		this->moduleName = moduleName;
	}

	// Common Functions that needs to be over-ridden
};
#endif /* BASEENTITY_H_ */
